<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Registering a Database (Applicable to the Primary/Standby Deployment Mode)">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002209175821.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="EN-US_TOPIC_0000002174015102">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Registering a Database (Applicable to the Primary/Standby Deployment Mode)</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="EN-US_TOPIC_0000002174015102"></a><a name="EN-US_TOPIC_0000002174015102"></a>

<h1 class="topictitle1">Registering a Database (Applicable to the Primary/Standby Deployment Mode)</h1>
<div><p>Before backing up or restoring databases at both the primary and standby ends, you need to register the database clusters or single-server databases to be protected with the <span>OceanProtect</span>.</p>
<div class="section"><h4 class="sectiontitle">Prerequisites</h4><p id="EN-US_TOPIC_0000002174015102__en-us_topic_0000002199963617_p138022121518">Ensure that the client installation user can be switched to the Oracle installation user by running the <strong id="EN-US_TOPIC_0000002174015102__en-us_topic_0000002199963617_b7716401510">su - oracle</strong> command. If the grid component is installed, ensure that you can run the <strong id="EN-US_TOPIC_0000002174015102__en-us_topic_0000002199963617_b923919186527">su - grid</strong> command to switch to user <strong id="EN-US_TOPIC_0000002174015102__en-us_topic_0000002199963617_b15797182405211">grid</strong>.</p>
</div>
<div class="section"><h4 class="sectiontitle">Procedure</h4><ol><li><span>Choose <span class="uicontrol" id="EN-US_TOPIC_0000002174015102__en-us_topic_0000002199964685_uicontrol49641842919"><b><span id="EN-US_TOPIC_0000002174015102__en-us_topic_0000002199964685_text63901566195"><strong>Protection</strong></span> &gt; Databases &gt; Oracle</b></span>.</span></li><li><span>Register the databases to be protected at the primary end.</span><p><ul><li>If a database to be protected at the primary end is deployed in cluster mode, register the database by referring to <a href="en-us_topic_0000002199963617.html">Registering a Database (Applicable to the Cluster Deployment Mode)</a>.</li><li>If a database to be protected at the primary end is deployed in a single-server system, register the database by referring to <a href="en-us_topic_0000002164597186.html">Registering a Database (Applicable to the Single-Server System Deployment Mode)</a>.</li></ul>
</p></li><li><span>Register the databases to be protected at the standby end.</span><p><ul><li>If a database to be protected at the standby end is deployed in cluster mode, register the database by referring to <a href="en-us_topic_0000002199963617.html">Registering a Database (Applicable to the Cluster Deployment Mode)</a>.</li><li>If a database to be protected at the standby end is deployed in a single-server system, register the database by referring to <a href="en-us_topic_0000002164597186.html">Registering a Database (Applicable to the Single-Server System Deployment Mode)</a>.</li></ul>
</p></li></ol>
<p></p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000002209175821.html">Step 3: Registering an Oracle Database</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>